.container-register{
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-dialog{
    width: 500px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(5px);
}

.register-header {
    padding: 25px 30px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.register-header h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.subtitle {
    color: #7f8c8d;
    font-size: 0.95rem;
}

.register-form {
    padding: 25px 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
}

.form-group label i {
    margin-right: 8px;
    color: #3498db;
}

.form-group input {
    width: 100%;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.form-group input::placeholder {
    color: #bdc3c7;
}

.form-button {
    margin-top: 30px;
}

#submit {
    width: 100%;
    height: 48px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.2);
}

#submit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 7px 10px rgba(52, 152, 219, 0.3);
}

#submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
}

.login-link a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.login-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 添加动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media screen and (max-width: 576px) {
    .register-dialog {
        width: 90%;
        max-width: 500px;
    }
}

/* 成功页面样式保留并改进 */
.success-dialog {
    width: 500px;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease;
}

.success-dialog i {
    font-size: 60px;
    color: #2ecc71;
    margin-bottom: 20px;
}

.success-dialog h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.success-dialog p {
    color: #7f8c8d;
    margin-bottom: 25px;
}

.success-dialog a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.success-dialog a:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}